package com.ruoyi.supplier.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 采购明细视图对象
 *
 * @author ruoyi
 * @date 2023-09-18
 */
@Data
@ExcelIgnoreUnannotated
public class PurchaseItemVo {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private Integer purchaseItemId;

    /**
     * 供货商商户ID
     */
    @ExcelProperty(value = "供货商商户ID")
    private Long merchantId;

    /**
     * 采购商品的skuid
     */
    @ExcelProperty(value = "采购商品的skuid")
    private Integer productSkuId;

    /**
     * 采购数量
     */
    @ExcelProperty(value = "采购数量")
    private Integer shouldNum;

    /**
     * 出库数量
     */
    @ExcelProperty(value = "出库数量")
    private Integer actualNum;

    /**
     * 缺货数量
     */
    @ExcelProperty(value = "缺货数量")
    private Integer lackNum;

    /**
     * 含绒量
     */
    @ExcelProperty(value = "含绒量")
    private BigDecimal percent;

    /**
     * 检验标准
     */
    @ExcelProperty(value = "检验标准")
    private Integer standard;

    /**
     * 采购价
     */
    @ExcelProperty(value = "采购价")
    private BigDecimal purchasePrice;

    /**
     * 位置编号
     */
    @ExcelProperty(value = "位置编号")
    private Integer positionNo;

    /**
     * 批次号(当天有效)
     */
    @ExcelProperty(value = "批次号(当天有效)")
    private String batchNo;

    /**
     * 订单编号
     */
    @ExcelProperty(value = "订单编号")
    private Integer orderId;

    /**
     * 店铺id
     */
    @ExcelProperty(value = "店铺id")
    private Integer shopId;

    /**
     * 店铺商品sku id
     */
    @ExcelProperty(value = "店铺商品sku id")
    private Long shopSkuId;

    /**
     * 主图
     */
    @ExcelProperty(value = "主图")
    private String image;

    /**
     * 主图类型（1图片 2视频）
     */
    @ExcelProperty(value = "主图类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=图片,2=视频")
    private Integer imageType;

    /**
     * 视频链接
     */
    @ExcelProperty(value = "视频链接")
    private String video;

    /**
     * 产品名称
     */
    @ExcelProperty(value = "产品名称")
    private String productName;


}
